<template>
	<view>
		<view class="nav">
			<view @click="back"> ← 返回</view>
			<view>检查更新</view>
		</view>
		<view class="content_ud">
			<view>当前版本：15.2.12</view>
			<view>
				<view>最新版本：15.2.12</view>
				<view>更新内容：</view>
				<view>1.修复了已知bug</view>
				<view>2.杀了一个产品经理祭天</view>
			</view>
		</view>
		<view class="tj">
			<button>立即更新</button>
		</view>
	</view>
</template>

<script>
	import {reactive,toRefs} from 'vue'
	export default {
		setup(){
			let data=reactive({
				back:()=>{
					uni.navigateBack({
						delta:1
					})
				}
			})
			return {...toRefs(data)}
		}
	}
</script>

<style scoped lang="less">
.nav{
	padding-top: 60rpx;
	padding-bottom: 20rpx;
	background-color: #F8F8F8;
	display: flex;
	position: relative;
	justify-content: center;
	>view:first-child{
		position: absolute;
		left: 0;
		color: #168ADE;
	}
}
.tj{
	padding: 0 10rpx;
	button{
		background-color: #118EE9;
		color: white;
	}
}
.content_ud{
	padding: 50rpx;
	>view:first-child{
		margin-bottom: 100rpx;
	}
}
</style>
